/*
 * SelectionStatement.h
 *
 *  Created on: 06/05/2010
 *      Author: rodolfo
 */

#ifndef SELECTIONSTATEMENT_H_
#define SELECTIONSTATEMENT_H_

#include "Statement.h"
#include "Expression.h"


class SelectionStatement: public Statement
{
public:
    Expression *condition;
    Statement *command;

    SelectionStatement();
    SelectionStatement ( StmType _kind );
    SelectionStatement ( Expression *condition, StmType _kind );
    SelectionStatement ( Statement *command, StmType _kind );
    SelectionStatement ( Expression *condition, Statement *command, StmType _kind );

    virtual ~SelectionStatement();
};

#endif /* SELECTIONSTATEMENT_H_ */
